# -*- coding : utf-8 -*-
# author : Big Cat
# time : 2021/7/25:23:32
# file : login_page_locs.py

from selenium.webdriver.common.by import By
from comm import baseUrl
from comm.getdatas import readYaml

class LoginPageLocs:

    el_username = (By.ID, 'user_name')
    el_password = (By.ID, 'password')
    el_login = (By.XPATH, "//input[@name='Submit']")
    url = baseUrl.base_url + readYaml('testdatas.yml', 'login')['url']